package com.taoding.hfhclient.rabbitmq;

/**
 * @author liuxinghong
 * @Description:
 * @date 2019/8/28 002817:43
 */

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
@Data
public class RabbitMQConfiguration {
    @Value("${spring.rabbitmq.host}")
    private String host;
    @Value("${spring.rabbitmq.username}")
    private String userName;
    @Value("${spring.rabbitmq.password}")
    private String password;
    @Value("${spring.rabbitmq.port}")
    private Integer port;
    @Value("${spring.rabbitmq.virtual-host}")
    private String virtualHost;
    private String sendQueueName = MQConfig.keys;
    private String receiverQueueName = MQConfig.keys;
}
